import { Routes } from '@angular/router';

import { RoleManagementComponent } from './role-management.component';

export const RoleManagementRoutes: Routes = [
    {

        path: '',
        children: [
        { path: 'role-management', component: RoleManagementComponent },
        { path: 'role-management/:roleId', component: RoleManagementComponent },
        { path: 'role-management/:roleId/:pageNo/:pageSize', component: RoleManagementComponent },
        { path: 'role-management/:roleId/:pageNo/:pageSize/:orderBy/:orderType', component: RoleManagementComponent },
        { path: 'role-management/:roleId/:pageNo/:pageSize/:orderBy/:orderType/:searchKeywords', component: RoleManagementComponent },
        ]
    }
];
